<div class="panel panel-default">
    <div class="panel-heading">基本信息</div>
    <div class="panel-body">
        <form class="form-horizontal">
            <!-- base info start -->
            <div class="form-group">
                <label class="col-sm-2 control-label">游戏类型</label>
                <div class="col-sm-10">
                    <select class="form-control J-gameType" type="type" v-model="lottery.type">
                        <option value="0">大转盘</option>
                        <option value="1">九宫格</option>
                        <option value="4">刮刮乐</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">游戏标题</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control J-gameTitle" name="title" v-model="lottery.title" placeholder="请输入游戏标题，不超过12个字">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">次数限制</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control J-perDayLimit" name="perDayLimit" v-model="lottery.perDayLimit" placeholder="用户可进行抽奖的次数，必填">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">场景</label>
                <div class="col-sm-10">
                    <scenes v-bind:code="lottery.sceneCode"></scenes>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">备注</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control J-remark" name="remark" v-model="lottery.remark" placeholder="请输入备注，不超过12个字">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">banner图片</label>
                <div class="col-sm-10">
                    <uploadimg v-bind:src="lottery.bannerUrl" v-on:listenmsgfromchild="listenmsgfromchild"></uploadimg>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">banner图片</label>
                <div class="col-sm-10">
                    <button class="btn btn-default" v-on:click.prevent="setPrize">奖品设置</button>
                </div>
            </div>
        </form>
    </div>
</div>
